package net.yb.entity;

import java.io.Serializable;

/**
 * 学生类
 */
public class Student implements Serializable {
    private Integer id; // 编号
    private String name; // 姓名
    private String sex; // 性别
    private Integer age; // 年龄
    private Double height; // 身高

    public Student() {
    }

    public Student(Integer id, String name, String sex, Integer age, Double height) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.height = height;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }
}
